package com.example.logindemo2.model

object Constant {
    //阿里妈妈前端团队提供的api接口
    const val BASE_URL = "http://rap2api.taobao.org/"
    const val LOGIN_API = "app/mock/262722/postdemo/login"
    const val TEST_API = "app/mock/data/1682179"

    const val USERNAME_KEY = "username"
    const val PWD_KEY = "password"
    const val SUC_RSP_CODE = "00"

    const val SUC_RESULT = 0
    const val ERR_ACCOUNT = -1
    const val ERR_NETWORK = -2

    const val SP_ACCOUNT = "sp_data"
    const val SP_USERNAME = "sp_username"
    const val SP_PWD = "sp_password"
    const val SP_RMB_PWD = "sp_remember_password"

    const val STR_NOTHING = ""
}